<h1><{$smarty.const._MD_USER_LANG_USERREG}></h1>

<{if $actionForm->hasError()}>
<ul class="errorMsg">
  <{foreach item=message from=$actionForm->getErrorMessages()}>
  <li><strong><{$message}></strong></li>
  <{/foreach}>
</ul>
<{/if}>

<form action="#" method="post">
<{xoops_token form=$actionForm}>
<table class="outer" width="100%">
  <tr>
    <th class="head"><label for="legacy_xoopsform_uname"><{$smarty.const._MD_USER_LANG_NICKNAME}></label></th>
    <td class="<{cycle values="odd,even"}>"><{xoops_input maxlength=25 name=uname value=$actionForm->get('uname')}></td>
  </tr>
  <tr>
    <th class="head"><label for="legacy_xoopsform_email"><{$smarty.const._MD_USER_LANG_EMAIL}></label></th>
    <td class="<{cycle values="odd,even"}>">
      <{xoops_input name=email size=30 maxlength=60 value=$actionForm->get('email')}><br />
      <label><{xoops_input type=checkbox name=user_viewemail value=1 default=$actionForm->get('user_viewemail')}> <{$smarty.const._MD_USER_LANG_USER_VIEWEMAIL}></label>
    </td>
  </tr>
  <tr>
    <th class="head"><label for="legacy_xoopsform_url"><{$smarty.const._MD_USER_LANG_WEBSITE}></label></th>
    <td class="<{cycle values="odd,even"}>"><{xoops_input name=url size=30 maxlength=100 value=$actionForm->get('url')}></td>
  </tr>
  <tr>
    <th class="head"><label for="legacy_xoopsform_timezone_offset"><{$smarty.const._MD_USER_LANG_TIMEZONE_OFFSET}></label></th>
    <td class="<{cycle values="odd,even"}>">
      <select name="timezone_offset" id="legacy_xoopsform_timezone_offset">
        <{xoops_optionsArray id=timezone_offset label=zone_name value=offset from=$timezones default=$actionForm->get('timezone_offset')}>
      </select>
    </td>
  </tr>
  <tr>
    <th class="head"><label for="legacy_xoopsform_pass"><{$smarty.const._MD_USER_LANG_PASSWORD}></label></th>
    <td class="<{cycle values="odd,even"}>">
      <{xoops_input type=password name=pass value=$actionForm->get('pass') size=10 maxlength=32}>
    </td>
  </tr>
  <tr>
    <th class="head"><label for="legacy_xoopsform_vpass"><{$smarty.const._MD_USER_LANG_VERIFYPASS}></label></th>
    <td class="<{cycle values="odd,even"}>">
      <{xoops_input type=password name=vpass value=$actionForm->get('vpass') size=10 maxlength=32}>
    </td>
  </tr>
  <{if $enableAgree}>
  <tr>
    <th class="head"><{$smarty.const._MD_USER_LANG_DISCLAIMER}></th>
    <td class="<{cycle values="odd,even"}>">
      <{xoops_textarea name=disclaimer rows=8 cols=50 readonly=true value=$disclaimer}><br />
      <label><{xoops_input type=checkbox name=agree value=1 default=$actionForm->get('agree')}> <{$smarty.const._MD_USER_MESSAGE_IAGREE}></label>
    </td>
  </tr>
  <{/if}>
  <tr>
    <td colspan="2" class="foot" style="text-align:center;">
      <input type="submit" value="<{$smarty.const._MD_USER_LANG_SUBMIT}>" />
    </td>
  </tr>
</table>
</form>
